package com.education.wisdom.pojo;

import com.education.common.core.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 用户下载中间表 jr_resources_user
 * 
 * @author ruoyi
 * @date 2019-01-24
 */
public class ResourcesUser extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private Integer id;
	/** 用户ID */
	private String userId;
	/** 下载时间 */
	private Date createTime;
	/** 资源Id */
	private Integer resourcesId;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setUserId(String userId) 
	{
		this.userId = userId;
	}

	public String getUserId() 
	{
		return userId;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setResourcesId(Integer resourcesId) 
	{
		this.resourcesId = resourcesId;
	}

	public Integer getResourcesId() 
	{
		return resourcesId;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("resourcesId", getResourcesId())
            .toString();
    }
}
